package com.jinsi.service;

import com.jinsi.pojo.ScClasses;
import com.jinsi.pojo.TreeData;

import java.util.List;

public interface ScClassesService {
    //根据父id获取树数据
    public List<TreeData> getTree(int pid);
    //添加学院节点
    public void addClassesTree(Integer pid, String title,String classesLevels) throws Exception;
    //修改学院节点
    public void upClassesTree(Integer id, String title,String classesLevels) throws Exception;
    //删除学院节点
    public void deClassesTree(Integer id) throws Exception;
}
